-
Home
-
Servebolt Optimizer
-
3.2
-
Code
-
Classes
- MigrationRunner
Total Complexity |
60 |
Dependencies |
0 |
Dependents |
1 |
Total lines |
339 |
Lines of code |
200 |
Logical lines of code |
102 |
Comment lines |
78 |
Methods |
21 |
Properties |
7 |
Methods 21
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
shouldRunMigration() |
A |
50 |
11 |
32 |
runMigrationSteps() |
A |
53 |
8 |
25 |
resolveMigrations() |
S |
54 |
5 |
21 |
tablesExist() |
S |
61 |
4 |
13 |
runMigration() |
S |
61 |
4 |
12 |
updateMigratedVersion() |
S |
63 |
3 |
11 |
rollbackFromZero() |
S |
63 |
3 |
11 |
rollbackToZero() |
S |
63 |
3 |
11 |
doMigration() |
S |
66 |
3 |
9 |
getCurrentMigratedVersion() |
S |
70 |
2 |
7 |
clearMigratedVersion() |
S |
68 |
2 |
8 |
getMigrationDirection() |
S |
77 |
2 |
3 |
maybeRunMigrations() |
S |
72 |
2 |
6 |
migrationVersionOptionsKey() |
S |
79 |
1 |
3 |
getAllMigrationFiles() |
S |
79 |
1 |
3 |
run() |
S |
80 |
1 |
3 |
setCurrentVersions() |
S |
76 |
1 |
4 |
cleanup() |
S |
80 |
1 |
3 |
migrate() |
S |
80 |
1 |
3 |
migrateFresh() |
S |
77 |
1 |
4 |
tableExists() |
S |
67 |
1 |
8 |